//
//  ThirdViewController.m
//  王宇先_07_登录界面_navigation
//
//  Created by wyx on 16/3/17.
//  Copyright © 2016年 Apon. All rights reserved.
//

#import "ThirdViewController.h"

@interface ThirdViewController ()

@end

@implementation ThirdViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    UILabel *lable = [[UILabel alloc] init];
    lable.text = @"Welcome";
    lable.frame = CGRectMake(40, 100, self.view.frame.size.width - 80, 40);
    [self.view addSubview:lable];
    [self configForNavigationItemWelcome];
    
}
- (void)configForNavigationItemWelcome{
    
    //中间title
    self.navigationItem.title = @"欢迎页";
    
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
